<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <span th:text="${msg}"></span>
    <span th:utext="${msg}"></span><!--不转意-->

<!--   遍历 两种写法-->
<h4 th:each="num:${list}" th:text="${num}"></h4>

<h4 th:each="num:${list}" >[[${num}]]</h4>
</body>
</html>